package com.situ.ftbserver.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.situ.ftbserver.model.Member;
import com.situ.ftbserver.model.search.MemberSearchBean;
import com.situ.ftbserver.util.JsonResult;
import org.springframework.http.ResponseEntity;

import java.util.List;
import java.util.Map;

public interface MemberService {
     Page<Member> findAll(Page< Member> page, MemberSearchBean msb);

     int delete(Integer[] ids);

     boolean save(Member member);

     boolean updateById(Member member);

    List<Member> getMember();

    List<Map<String, Integer>> getMemberAgeCount();
}
